import {get, post, del, put} from "@/apis/http/request";
import {DepressCollectStatisstics} from "@/apis/model/exam/DepressCollectStatissticsModel";

/**
* 得到列表
* @param params
*/
export const getDepressCollectStatissticsList = (params: any) => get("/depressCollectStatisstics/list", params)

/**
* 得到分页列表
* @param params
*/
export const depressCollectStatissticsPage = (params: any) => post("/depressCollectStatisstics/page", params)

/**
* 删除数据
* @param id
* @returns
*/
export const deleteDepressCollectStatissticsById = (id: number) => del("/depressCollectStatisstics/delete/"+ id)

/**
* 新增数据
* @param param
*/
export const insertDepressCollectStatisstics = (param: DepressCollectStatisstics) => post("/depressCollectStatisstics", param)

/**
* 更新数据
* @param param
*/
export const updateDepressCollectStatisstics = (param: DepressCollectStatisstics) => put("/depressCollectStatisstics", param)